home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / csim / source.lha / source / C++SIM / README < prev    next >
Text File  |  1993-06-14  |  2KB  |  59 lines

  1. /*
  2.  * Copyright (C) 1993
  3.  *
  4.  * Department of Computing Science,
  5.  * The University,
  6.  * Newcastle upon Tyne,
  7.  * UK.
  8.  */
  9.  
  10. D. McCue, M. Little    Computing Laboratory
  11. 29 November 1991    University of Newcastle upon Tyne, NE1 7RU, England
  12.  
  13. This is version 1.0 of C++SIM, a set of c++ class definitions that mimic the
  14. process-based simulation facilities of SIMULA and the SIMSET routines.  
  15.  
  16. The co-routine facility of Simula is implemented by Sun threads.
  17. Classes are provided for various random number distributions.
  18.  
  19. The following classes are defined:
  20.  
  21.     Process    - An abstract class that exports the major functions
  22.           of the Simula class, process.  To use, derive your own
  23.           class from the class Process.  The pure virtual function,
  24.           Body, is the "main" procedure of the class.  Note that,
  25.           like Simula, a process is not scheduled to run when it is
  26.           created.  It must be explicitly 'activated'.
  27.  
  28.     ProcessList    - A list class for processes that (by default) orders
  29.           the elements by event time.
  30.  
  31.     ProcessIterator - An iterator class for ProcessList.
  32.  
  33.     ProcessCons - Allows LISP-like list manipulation (car & cdr).
  34.  
  35.     Random - A series of classes which provide various random number
  36.          streams.
  37.  
  38.     Element & Head - These classes form the basis of the SIMSET utility.
  39.  
  40.     thread - The basic thread class, which defines what operations other
  41.          threads packages must provide. This is essentially a template
  42.          which allows other thread packages to be used as long as they
  43.          provide at least the operations necessary for this class.
  44.  
  45.     lwp_thread - This is the Sun threads class.
  46.  
  47.     gnu_thread - This is the interface to Gnu's thread package.
  48.  
  49.  
  50.  
  51. If you find any bugs or make modifications (e.g., ports to other thread
  52. packages) or port the package to other systems then please let me know
  53. so I can keep the sources up-to-date for other users.
  54.  
  55. Send to: M.C.Little@ac.uk.newcastle
  56.  
  57.  
  58.  
  59.